package com.nesun.utils;

import android.content.Context;

public class WjUtils {
	public static int pixelsToDip(Context context, float pxValue)
	{
		final float scale = context.getResources().getDisplayMetrics().density;
		return (int) (pxValue / scale + 0.5f);
	}
}
